package com.example.querydsl.entity;

import java.io.Serializable;

import lombok.Data;

/**
 * @Author Anita
 * @Date 2017/12/20 18:30
 */
@Data
public class GoodDTO  implements Serializable
{
    //主键
    private Long id;
    //标题
    private String title;
    //单位
    private String unit;
    //价格
    private double price;
    //类型名称
    private String typeName;
    //类型编号
    private Long typeId;
}
